<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-userWallet-add">
	        <div class="form-group">
            <label class="col-sm-3 control-label">用户ID：</label>
            <div class="col-sm-8">
                <input id="userId" name="userId" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">支付密码：</label>
            <div class="col-sm-8">
                <input id="payPassword" name="payPassword" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">密码盐：</label>
            <div class="col-sm-8">
                <input id="paySalt" name="paySalt" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">未冻结金额：</label>
            <div class="col-sm-8">
                <input id="money" name="money" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">冻结金额：</label>
            <div class="col-sm-8">
                <input id="freezeMoney" name="freezeMoney" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">银行卡号：</label>
            <div class="col-sm-8">
                <input id="bankNumber" name="bankNumber" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">银行名称：</label>
            <div class="col-sm-8">
                <input id="bankName" name="bankName" class="form-control" type="text">
            </div>
        </div>
		        <div class="form-group">
            <label class="col-sm-3 control-label">支付宝账号：</label>
            <div class="col-sm-8">
                <input id="alipay" name="alipay" class="form-control" type="text">
            </div>
        </div>
							


		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/userWallet"
		$("#form-userWallet-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-userWallet-add').serialize());
	        }
	    }
	</script>
</body>
</html>
